package com.etooling.germa;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(exclude = {org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class,
        org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration.class})
@SpringBootConfiguration
@EnableTransactionManagement
@EntityScan(basePackages = {"com.**.**.entity"})
@ComponentScan({"com.**.**.controller", "com.**.**.mobile", "com.**.**.service", "com.**.**.conf", "com.**.**.entity", "com.**.**.filter", "com.**.quartz"})
@EnableJpaRepositories("com.**.**.repository")
@EnableScheduling
public class GermaApplication {
    public static void main(String[] args) {
        SpringApplication.run(GermaApplication.class, args);
    }

}
